adb shell mkdir system/priv-app/XpFactoryTest/
adb shell mkdir system/priv-app/XpFactoryTest/lib/
adb shell mkdir system/priv-app/XpFactoryTest/lib/arm64/
adb shell rm -rf /system/priv-app/XpFactoryTest/oat/

adb root 
adb remount
adb push ~/soft/factorytest/XpFactoryTest.apk     system/priv-app/XpFactoryTest/
adb push ~/soft/factorytest/lib/arm64/libpso.so   system/priv-app/XpFactoryTest/lib/arm64/
adb push ~/soft/factorytest/lib/arm64/libXpPso.so  system/priv-app/XpFactoryTest/lib/arm64/
adb push ~/soft/factorytest/lib/arm64/libudsSecurityLuaEnc.so  system/priv-app/XpFactoryTest/lib/arm64/
adb reboot
